/**
 * time是时间戳
 */
export type Message_File = {
  friendId: string;
  friendName: string;
  hisMessage: Array<{
    time: number;
    message: string;
  }>;
  myMessage: Array<{
    time: number;
    message: string;
  }>;
};

export type Message_Groups = Array<Message_Group>;

export type Message_Group = {
  timeago: number;
  messages: Array<{
    name: string; //如果是我就显示“我”， 如果不是我就显示好友的名字
    msg: string;
    time: number; //多久以前的时间，显示中文
    isMy: boolean;
  }>;
};
